/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.kj.api.controller.base;

import com.jeesite.common.lang.StringUtils;
import com.jeesite.common.mapper.JsonMapper;
import com.jeesite.common.mapper.XmlMapper;
import com.jeesite.common.web.BaseController;
import com.jeesite.modules.kj.api.enumCode.UnicomResponseEnums;
import org.springframework.stereotype.Controller;

import javax.servlet.http.HttpServletRequest;

import static com.jeesite.common.web.http.ServletUtils.getRequest;
import static com.jeesite.common.web.http.ServletUtils.getResponse;

/**
 * ApiController
 * @author HZY
 * @version 2019-06-03
 */
@Controller
public class ApiBaseController extends BaseController {
//    @Override
//    protected String renderResult(String result, String message, Object data) {
//        return super.renderResult(getResponse(), result, message, data);
//    }
//
//    @Override
//    protected String renderResult(String result, String message) {
//        return super.renderResult(getResponse(), result, message);
//    }
//
//    protected String renderResult(String result, UnicomResponseEnums responseEnums, Object data){
//        return renderResult(getResponse(), result, responseEnums.getMsg(), data);
//    }
//
//    protected String renderResult(String result, UnicomResponseEnums responseEnums){
//        return renderResult(getResponse(), result, responseEnums.getMsg());
//    }

}